// Package dao
// Created by GoLand
// @User: lenora
// @Date: 2023/12/1
// @Time: 15:58

package dao

import (
	"errors"
	"gorm.io/gorm"
)

const DuplicateError uint16 = 1062

var (
	ErrDuplicateUser  = errors.New("用户冲突")
	ErrRecordNotFound = gorm.ErrRecordNotFound
)

const (
	ct = "ctime"
	ut = "utime"
)

type updates map[string]any

type BaseTime struct {
	Ctime int64
	Utime int64
}
